<?php
	if(!isset($_REQUEST['ajax'])){ $_REQUEST['ajax'] = "";}
	if($_REQUEST['ajax']!=true) include 'header.tpl.php';
?>
	<div class="row">
		<div class="col-lg-12">
			<ul class="shortcut-buttons-set">
				<li>
					<a class="shortcut-button" href='#finance_list/status=0'><span>
					<i class="aicon-task_list"></i>
					<?php echo $this->language['list'];?></span></a>
				</li>
				<?php if(check_permission('import_receipt')){ ?>
				<li>
					<a class="shortcut-button" href='#import/mod=thuchi'><span>
					<i class="aicon-receipt"></i>
					<?php echo $this->language['import_receipt_payment'];?></span></a>
				</li>
				<?php } ?>
				<?php if(check_permission('import_bank')){ ?>
				<li>
					<a class="shortcut-button" href='#import/mod=nganhang'><span>
					<i class="aicon-salary_kt"></i>
					<?php echo $this->language['import_banks'];?></span></a>
				</li>
				<?php } ?>
			</ul>
		</div>
	</div>
	<div class="row">
		<div class="col-lg-12">
			<div class="panel">
				<div class="panel-heading">
					<div class="panel-title"><i class="icon-upload"></i> <?php echo $this->language['import_banks'];?></div>
				</div>
				<div class="panel-body">
					<form action="?func=import&mod=nganhang" method="post" enctype="multipart/form-data" target="_blank" class="form-horizontal">
						<div class="form-group">
							<label class="col-lg-2 control-label">File (.XLSX) :</label>
							<div class="col-lg-4">
								<input type="file" name="file" class="form-control" />
							</div>
						</div>
						<div class="form-group">
							<div class="col-lg-offset-2 col-lg-10">
								<button class="btn btn-primary" type="submit"><?php echo $this->language['import'];?></button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
<?php if(isset($this->breadcrumb) && isset($this->title_header)):?>
	<script type="text/javascript">
		$(function() {
			$("#title-header").text('<?php echo $this->title_header;?>');
			$("#breadcrumb").html('<?php echo build_breadcrumb($this->breadcrumb);?>');
		});
	</script>
<?php endif;?>
<?php
	if($_REQUEST['ajax']!=true) include 'footer.tpl.php';
?>